package com.ruoyi.salarydetails.service;

import java.util.List;
import com.ruoyi.salarydetails.domain.SalaryBreakdown;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 薪资明细Service接口
 *
 * @author ruoyi
 * @date 2024-08-12
 */
public interface ISalaryBreakdownService extends IService<SalaryBreakdown> {
    /**
     * 查询薪资明细
     *
     * @param id 薪资明细主键
     * @return 薪资明细
     */
    public SalaryBreakdown selectSalaryBreakdownById(Long id);

    /**
     * 查询薪资明细列表
     *
     * @param salaryBreakdown 薪资明细
     * @return 薪资明细集合
     */
    public List<SalaryBreakdown> selectSalaryBreakdownList(SalaryBreakdown salaryBreakdown);

    /**
     * 新增薪资明细
     *
     * @param salaryBreakdown 薪资明细
     * @return 结果
     */
    public int insertSalaryBreakdown(SalaryBreakdown salaryBreakdown);

    /**
     * 修改薪资明细
     *
     * @param salaryBreakdown 薪资明细
     * @return 结果
     */
    public int updateSalaryBreakdown(SalaryBreakdown salaryBreakdown);

    /**
     * 批量删除薪资明细
     *
     * @param ids 需要删除的薪资明细主键集合
     * @return 结果
     */
    public int deleteSalaryBreakdownByIds(Long[] ids);

    /**
     * 删除薪资明细信息
     *
     * @param id 薪资明细主键
     * @return 结果
     */
    public int deleteSalaryBreakdownById(Long id);
}